﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SPALM.MSBuildTasks
{
  public class RestartSPTimer : DeploymentOperation
  {
    public RestartSPTimer(Deployment parentTask, int ParsedRetries, int ParsedWaitSecondsAfterFinish, bool ParsedSimulateDeployment)
        : base(parentTask, ParsedRetries, ParsedWaitSecondsAfterFinish, ParsedSimulateDeployment)
    {
    }

    public override void RunOperation()
    {
      RestartService("SPTimerV3");

      RestartService("SPTimerV4");

      RestartService("WSSTimerV3");

      RestartService("WSSTimerV4");
    }
  }
}
